@import "../my-theme/info.less";
@import "../style/vividStandard.less";

.CRContainer {
  .card:before {
    z-index: -1;
  }
  width: 100%;
  display: flex;
  flex-direction: column;
  .commonTitle {
    .commonTitleMain {
      h2 {
        span {
          line-height: 35px;
          color: #da7194;
          font-size: 12px;
          margin-left: 8px;
          vertical-align: 2px;
          i {
            font-size: 14px;
            color: #fc5c41;
            margin: 0 2px;
          }
        }
      }
    }
  }

  .crHeader2-main {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    font-size: 16px;
    .crHeader2-right {
      display: flex;
      .class-list-tip {
        margin-right: 30px;
        display: flex;
        em {
          position: relative;
          padding-left: 20px;
          &:before {
            content: '';
            width: 6px;
            height: 6px;
            position: absolute;
            left: 9px;
            top: 50%;
            -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
            border-radius: 50%;
          }
          &:nth-of-type(1):before {
            background: #ed9d40;
          }
          &:nth-of-type(2):before {
            background: #86d2b1;
          }
        }
      }
    }
    p.crHeader2-tab {
      font-size: 12px;
      span {
        margin-right: 28px;
      }
      span {
        position: relative;
        padding: 0 6px;
        cursor: pointer;
        font-size: 14px;
        &.active {
          color: @primary-color;
        }
        &.active:after {
          position: absolute;
          content: "";
          background-color: @primary-color;
          width: 100%;
          height: 1px;
          bottom: -4px;
          left: 0px;
        }
      }
    }
  }
  .crBody {
    /*滚动条样式*/
    ::-webkit-scrollbar { /*滚动条整体样式*/
      width: 10px; /*高宽分别对应横竖滚动条的尺寸*/
      height: 10px;
    }

    ::-webkit-scrollbar-thumb { /*滚动条里面小方块*/
      border-radius: 3px;
      background: #99cbe2 !important;
    }

    ::-webkit-scrollbar-track { /*滚动条里面轨道*/
      border-radius: 0;
      //background: #f0f1f3;
      background: #e3e3e3;
    }
    .ivu-page {
      text-align: center;
      margin-top: 30px;
      .ivu-select-single .ivu-select-selection,
      .ivu-page-options-elevator input {
        height: 28px;
        line-height: 28px;
      }
      .ivu-page-item-jump-next, .ivu-page-item-jump-prev, .ivu-page-next, .ivu-page-prev, .ivu-page-item,
      .ivu-select-single .ivu-select-selection .ivu-select-placeholder,
      .ivu-select-single .ivu-select-selection .ivu-select-selected-value {
        min-width: 28px;
        height: 28px;
        line-height: 28px;
      }
      .ivu-page-item:hover {
        border-color: @primary-hover;
        a {
          color: @primary-hover;
        }
      }
      .ivu-page-item-active {
        border-color: @primary-color;
        background-color: transparent;
        a {
          color: @primary-color;
        }
      }
      .ivu-page-next:hover, .ivu-page-prev:hover {
        border-color: @primary-hover;
        a {
          color: @primary-hover;
        }
      }
      .ivu-select-item-selected {
        color: @primary-color;
      }
      .ivu-select-item-selected:hover {
        color: @primary-hover;
      }
      .ivu-page-options-elevator input:focus {
        color: @primary-color;
        border-color: @primary-color;
      }
    }
    .btn {
      background-color: @primary-color;
      color: #fff;
      cursor: pointer;
      width: 70px;
      margin: 0 auto;
      border-radius: 5px;
      &:hover {
        background-color: @primary-hover;
      }
    }
    .disabled{
      color: #c5c8ce;
      background-color: #f7f7f7;
      border:1px solid #dcdee2;
      &:hover {
        background-color: #f7f7f7;
      }
    }
    .teacherOperate{
      display: flex;
      justify-content: space-between;
      width: 145px;
      margin: 0 auto;
    }
    .btn3 {
      height: 24px;
      border-radius: 12px;
      text-align: center;
      padding: 0 8px;
      color: #07c4fe;
      border: 1px solid #07c4fe;
      background-color: #f1fcff;
      min-width: 66px;
      font-size: 12px;
      cursor: pointer;
      line-height: 20px;
      &:hover {
        color: @primary-hover;
        border: 1px solid @primary-hover;
      }
    }
    .disabled{
      color: #c5c8ce;
      background-color: #f7f7f7;
      border:1px solid #dcdee2;
      cursor: auto;
      &:hover {
        color: #c5c8ce;
        border: 1px solid #dcdee2;
        background-color: #f7f7f7;
      }
    }
    .btn5 {
      color:@tips-color;
      border: 1px solid @tips-color;
      background-color: @btn-bg2-color;
      &:hover {
        color: @tips-hover;
        border: 1px solid @tips-hover;

      }
    }
    .btn6 {
      color:@error-color;
      border: 1px solid @error-color;
      background-color: @btn-bg3-color;
      &:hover {
        color: @error-hover;
        border: 1px solid @error-hover;

      }
    }
    .btn4 {
      color: @primary-color;
      cursor: pointer;
      text-decoration: underline;
      &:hover {
        color: @primary-hover;
      }
    }

  }

}

.tableContent2 {
  padding: 0 !important;
}

.tableContent {
  margin-top: 10px;
  padding: 0 40px 40px;
  background-color: @white-color;
  .tableSetting {
    //line-height: 80px;
    padding: 0 0px 0 18px;
    display: flex;
    justify-content: space-between;
    .dataOperate {
      display: flex;
      //margin: 22px 0;
      /*float:left;*/
      padding: 4px 0 26px;
      p:first-child {
        //line-height: 80px;
        margin-top: 28px;
      }
      p {
        color: @btn-disable-color;
        span.num {
          margin: 0 3px;
          display: inline-block;
          width: 14px;
          text-align: center;
        }
        //span.payMoneyTotal {
        //  padding-top: 28px;
        //  color: @error-color;
        //  display: block;
        //}
      }
      button {
        height: 28px;
        //width: 70px;
        border-radius: 14px;
        text-align: center;
        padding: 0 8px;
        margin-left: 10px;
        color: @primary-color;
        border: 1px solid @primary-color;
        background-color: @btn-bg-color;
        margin-top: 22px;
        min-width: 66px;
        &:hover {
          color: @primary-hover;
          border: 1px solid @primary-hover;
        }
        //margin-top: 20px;
      }
      .ivu-btn:focus {
        box-shadow: none;
      }
      button.btn2 {
        color: @tips-color;
        border: 1px solid @tips-color;
        background-color: @btn-bg2-color;
        &:hover {
          color: @tips-hover;
          border: 1px solid @tips-hover;
        }
      }
      button.btn3 {
        color: @error-color;
        border: 1px solid @error-color;
        background-color: @btn-bg3-color;
        &:hover {
          color: @error-hover;
          border: 1px solid @error-hover;
        }
      }
      button.btn4 {
        color: @error-color;
        border: 1px solid @error-color;
        background-color: @btn-bg3-color;
        &:hover {
          color: @error-hover;
          border: 1px solid @error-hover;
        }
      }
    }
    .sortTables {
      display: flex;
      /*padding-top: 25px;*/
      p {

      }
      /*float:right;*/
      .ivu-select, .ivu-input-wrapper {
        //margin-top: 22px;
        margin: 22px 0;
      }
      .ivu-select-selection {
        background-color: @auxiliary-color4;
        border: none;
        border-radius: 0px;
        padding-left: 20px;
      }
      .select1 .ivu-select-selection {
        border-top-left-radius: 16px;
        border-bottom-left-radius: 16px;
      }
      .ivu-input {
        background-color: @auxiliary-color4;
        border: none;
        border-radius: 0px;
        border-top-right-radius: 16px;
        border-bottom-right-radius: 16px;
        text-align: center;
        height: 36px;
      }
      .ivu-select-visible .ivu-select-selection {
        box-shadow: none;
      }
      .ivu-input:focus {
        box-shadow: none;
      }
      .ivu-select-single .ivu-select-selection {
        height: 36px;
      }
      .ivu-select-single .ivu-select-selection .ivu-select-placeholder, .ivu-select-single .ivu-select-selection .ivu-select-selected-value {
        height: 36px;
        line-height: 36px;
      }
    }
    .sortData {
      position: relative;
      .emptyData {
        position: absolute;
        top: 22px;
        right: 0px;
        cursor: pointer;
        color: @mid-gray-color;
        font-size: 14px;
        width: 30px;
        height: 36px;
        line-height: 36px;
        text-align: center;
        //background-color: red;
        border-bottom-right-radius: 18px;
        border-top-right-radius: 18px;
        &:hover {
          color: @mid-gray-hover;
        }
      }
    }
    button.btnSearch {
      height: 36px;
      line-height: 36px;
      width: 36px;
      border-radius: 18px;
      text-align: center;
      padding: 0;
      margin: 22px 20px 0 20px;
      color: @white-color;
      border: none;
      background-color: @primary-color;
      font-size: 14px;
      & > span {
        vertical-align: 0;
      }
      &:hover {
        background-color: @primary-hover;
      }
      &:focus {
        box-shadow: none;
      }
      i {
        //margin-right: 10px;
        vertical-align: -1px;
      }
      //margin-top: 20px;
    }
    .setTables {
      //width: 80px;
      line-height: 80px;
      display: inline-block;
      .setBtn {
        cursor: pointer;
        font-size: 12px;
        color: @primary-color;
        line-height: 20px;
        &:hover {
          color: @primary-hover;
        }
        i {
          font-size: 18px;
          margin-right: 10px;
          vertical-align: -2px;
        }
      }
      .adminSetBtn {
        color: @tips-color;
        &:hover {
          color: @tips-hover;
        }
      }
      //.chooseScreens {
      //  padding-bottom: 18px;
      //  .chooseTip {
      //    font-size: 12px;
      //    line-height: 30px;
      //    color: @tips-color;
      //    margin-bottom: 10px;
      //  }
      //  .ivu-checkbox-group {
      //    white-space: pre-wrap; //换行
      //  }
      //  .ivu-checkbox-wrapper {
      //    width: 95px;
      //    margin-right: 16px;
      //    overflow: hidden;
      //    text-overflow: ellipsis;
      //    white-space: nowrap;
      //  }
      //  .ivu-checkbox-wrapper:nth-child(3n) {
      //    margin-right: 0px;
      //  }
      //  .ivu-checkbox + span {
      //    margin-left: 8px;
      //  }
      //}
      .clickBtn {
        margin-top: 20px;
        text-align: center;
        button {
          width: 90px;
          height: 36px;
          border-radius: 18px;
        }
        .ivu-btn:focus {
          box-shadow: none;
        }
        .cancle {
          margin-right: 15px;
          background-color: @auxiliary-color2;
          &:hover {
            color: @primary-color;
            border-color: @primary-color;
          }
        }
        .confirm {
          background-color: @primary-color;
          border-color: @primary-color;
          &:hover {
            background-color: @primary-hover;
            border-color: @primary-hover;
          }
        }
      }
    }
  }

  .ivu-table-wrapper {
    border: none;
  }
  .tableData {
    //margin-bottom: 20px;
    .ivu-table table {
      width: 100% !important;
      //overflow-x: scroll;

    }
    .ivu-table-header {
      background-color: @class-blue;
      border-bottom: 1px solid @light-gray-hover;
    }
    .ivu-table-fixed-header {
      background-color: @class-blue;
      border-top: 1px solid @light-gray-hover;
      border-bottom: 1px solid @light-gray-hover;
    }
    .ivu-table-fixed {
      left: 1px;
    }
    .ivu-table-fixed-right::before, .ivu-table-fixed::before {
      content: none;
    }
    .ivu-table {
      border: 1px solid @light-gray-hover;
    }
    .ivu-table:before {
      background-color: @light-gray-hover;
    }
    .ivu-table:after {
      background-color: @light-gray-hover;
    }
    .ivu-table thead tr:first-child th {
      height: 40px;
      font-size: 14px;
      font-weight: bold;
      text-align: center;
      color: @dark-gray-color;
      //background-color: @class-blue;
      //border-bottom: 1px solid @light-gray-hover;
      //&:nth-child(3n-2) {
      //  background: @classA-blue;
      //  font-size: 16px;
      //}
      //
      //&:nth-child(3n-1) {
      //  background: @classA-yellow;
      //  font-size: 16px;
      //}
      //
      //&:nth-child(3n) {
      //  background: @classA-violet;
      //  font-size: 16px;
      //}
    }
    //.ivu-table thead tr:not(:first-child) th {
    //  line-height: 36px;
    //  font-size: 14px;
    //  font-weight: normal;
    //  text-align: center;
    //  color: @dark-gray-color;
    //}
    //
    //.ivu-table thead tr:nth-child(2) th {
    //  background: @classB-color;
    //  font-size: 14px;
    //}
    //
    //.ivu-table thead tr:nth-child(3) th {
    //  background: @classC-color;
    //  font-size: 14px;
    //}
    //.ivu-table thead tr:nth-child(4) th {
    //  background: @classD-color;
    //  font-size: 14px;
    //}

    .ivu-table tbody td {
      /*padding: 6px 0 !important;*/
      font-size: 14px;
      text-align: center;
      color: @dark-gray-color;
    }
    .ivu-table tbody tr:nth-child(2n-1) {
      background-color: @tableBgColor1;
    }
    .ivu-table tbody tr:nth-child(2n) {
      background-color: @tableBgColor2;
    }
    .ivu-table th {
      //border: 1px solid #fff;
      border: none;
      height: 36px;
      background: @class-blue;
    }
    .ivu-table td {
      //border: 1px solid #fff;
      border: none;
      height: 36px;
      background: none;
    }
  }
}
.viewRcord{
  /*滚动条样式*/
  ::-webkit-scrollbar { /*滚动条整体样式*/
    width: 10px; /*高宽分别对应横竖滚动条的尺寸*/
    height: 10px;
  }

  ::-webkit-scrollbar-thumb { /*滚动条里面小方块*/
    border-radius: 3px;
    background: #99cbe2 !important;
  }

  ::-webkit-scrollbar-track { /*滚动条里面轨道*/
    border-radius: 0;
    //background: #f0f1f3;
    background: #e3e3e3;
  }
}
//确认课时
.confirmHour {
  .ivu-form {
    display: flex;
    flex-wrap: wrap;
  }
  .ivu-form-item {
    width: 250px;
  }
  .block {
    display: block;
    width: 100% !important;
  }
  .ivu-radio-group {
    line-height: 12px;
  }

  .submit {
    width: 143px;
    height: 34px;
    text-align: center;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    margin: 0 auto;
    display: block;
  }
  .submit[disabled] {
    background-color: @btn-disable-color !important;
    color: #fff;
  }
  .submit.active {
    color: transparent;
    background: @primary-color url(../assets/images/load.gif) no-repeat center !important;
  }
}

.changeClass {
  .submit {
    width: 143px;
    height: 34px;
    text-align: center;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    margin: 0 auto;
    display: block;
  }
  .submit[disabled] {
    background-color: @btn-disable-color !important;
    color: #fff;
  }
  .submit.active {
    color: transparent;
    background: @primary-color url(../assets/images/load.gif) no-repeat center !important;
  }
}
